export default [
  {
    path: '/strategy',
    name: 'strategy',
    redirect: { name: 'list' },
    component: resolve => require(['../../views/strategy/index.vue'], resolve),
    children: [
      {
        path: 'list',
        name: 'list',
        component: resolve => require(['../../views/strategy/src/list.vue'], resolve)
      },
      {
        path: 'create',
        name: 'create',
        component: resolve => require(['../../views/strategy/src/create.vue'], resolve)
      },
      {
        path: 'monitor',
        name: 'monitor',
        component: resolve => require(['../../views/strategy/src/monitor.vue'], resolve),
        children: [
          {
            path: 'new-strategy',
            name: 'monitor-new-strategy',
            component: resolve => require(['../../views/strategy/src/create.vue'], resolve)
          },
          {
            path: ':id',
            name: 'monitor-strategy-more',
            component: resolve => require(['../../views/strategy/src/edit.vue'], resolve)
          },
        ]
      },
      {
        path: 'edit',
        name: 'edit',
        component: resolve => require(['../../views/strategy/src/edit.vue'], resolve)
      },
      {
        path: 'edit-strategy',
        name: 'edit-strategy',
        component: resolve => require(['../../views/strategy/src/edit2.vue'], resolve)
      }
    ]
  }
]